const path = require('path');

module.exports = {
	publicPath: './',
	css: {
    loaderOptions: {
      less: {
        lessOptions: {
          modifyVars: {
            'primary-color': '#ff0000',
            'link-color': '#ff0000',
            'border-radius-base': '2px',
          },
          javascriptEnabled: true,
        },
      },
    },
  },
	pluginOptions: {
		'style-resources-loader': {
			preProcessor: 'less',
			patterns: [
				path.resolve(__dirname, './src/assets/variable.less')
			]
		}
	}
}
